package my.study.designpattern.abstractfactory.example1;

public class PcProducer implements ComputerProducer {
	private static PcProducer singleton = new PcProducer();

	private PcProducer() {

	}

	public static ComputerProducer getProducer() {
		return singleton;
	}

	public CPU createCPU(String id) {
		return new PcCPU(id);
	}

	public Ram createRam(String id) {
		return new PcRam(id);
	}

}
